package testExamples;
public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		StringBuffer buf = new StringBuffer(100);
		buf.append("trtryruyry>ytruytrt<truytruyw");
		int start = 10;
	    int end = 20;
	    buf.replace(start, end, "4w");  
	    System.out.println(buf.toString() + "\n"+buf.length());
	}

}
